define(function(require, exports){


	exports.onMain = function( boot, data, app ) {
		if(!app.routerValid('')) {
			return;
		}
		var title = LANG('首页');
		var con = app.getContainer({
			scenes: 'main',
			full: false,
			sitelist: false,
			setup_btn: false,
			title:title,
			type: 'sidebar'
		});

		app.core.get('SYS_PLATFORM').setPlatform(title);

		con.createBusiness(data.name, 'main/action/list.main', {

		}, function(mod, created){
			if(created){
				mod.reload();
			}
		});

	};
});